<template>
 <div>
     {{count}}
 </div>
</template>

<script>
export default {
    name:"Hello",
    data(){
        return {
            count:0
        }
    },
    mounted(){
        this.$bus.$on("count",(count)=>{
            this.count = count
        })
    }
}
</script>

<style>

</style>